package com.danskin.wechat.dao;

import com.danskin.wechat.entity.CustActivityVote;
import com.danskin.wechat.entity.example.CustActivityVoteExample;
import com.danskin.wechat.util.Page;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

public interface CustActivityVoteDao {
    int countByExample(CustActivityVoteExample example);

    int deleteByExample(CustActivityVoteExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(CustActivityVote record);

    int insertSelective(CustActivityVote record);

    List<CustActivityVote> selectByExample(CustActivityVoteExample example);

    CustActivityVote selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") CustActivityVote record, @Param("example") CustActivityVoteExample example);

    int updateByExample(@Param("record") CustActivityVote record, @Param("example") CustActivityVoteExample example);

    int updateByPrimaryKeySelective(CustActivityVote record);

    int updateByPrimaryKey(CustActivityVote record);
    
    List<Map<String,Object>> listPageActivityVoteStatic(Page page);
}